function [A,resCholBlock,resChol] = FattorizzaLettaDaFile(matrixSize, fileNameInput, fileNameOutput, blockSize)
%fp = fopen(fileNameInput);

A=zeros(matrixSize,matrixSize);

[dim, A] = leggiDaFile(fileNameInput);

A;
resChol = chol(A, 'lower');
resCholBlock = choleskyBlockComplexProc(matrixSize,blockSize,A);
resCholBlock;
resCholBlock = tril(resCholBlock);
writeToFile(fileNameOutput, resCholBlock, matrixSize, matrixSize);
end